#! /bin/sh

name=frigg
skip_pkg_check=yes
version=0.0git
revision=1
git_url="https://github.com/managarm/frigg.git"
commit=41b8f556db2646c4417d227b5174a66f03d86a43
imagedeps="meson ninja-build"
hostdeps="pkg-config"

configure() {
    meson_configure \
        --includedir=share/frigg/include \
        -Dbuild_tests=disabled
}

build() {
    ninja -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" ninja install

    post_package_strip
}
